package com.nari.ies.server.constant;

public enum Constant {

    //总有功、总无功、装机容量、
    // 单机总数、运行台数、检修台、停运台数、
    // 可用容量、运行容量、限电出力、调峰限电出力、网架限电出力、站内限电出力、限电标记位
    WINDPLANT_AND_PVPLANT_NAME("名称",3),

    WINDPLANT_PGEN("总有功",41),
    WINDPLANT_QGEN("总无功",43),

    PVPLANT_PGEN("总有功",39),
    PVPLANT_QGEN("总无功",41),

    WINDPLANT_AND_PVPLANT_CAPACITY("装机容量",14),

    WINDPLANT_GENERATOR_NUM("单机总数",21),
    PVPLANT_GENERATOR_NUM("单机总数",19),

    WINDPLANT_RUN_GN_NUM("运行台数",86),
    PVPLANT_RUN_GN_NUM("运行台数",82),

    WINDPLANT_MAINTENANCE_GN_NUM("检修台数",90),
    PVPLANT_MAINTENANCE_GN_NUM("检修台数",86),

    WINDPLANT_FAULT_GN_NUM("停运台数",94),
    PVPLANT_FAULT_GN_NUM("停运台数",90),

    WINDPLANT_AVAIL_POWER("可用容量",53),
    PVPLANT_AVAIL_POWER("可用容量",51),

    WINDPLANT_RUN_CAP("运行容量",84),
    PVPLANT_RUN_CAP("运行容量",80),

    WINDPLANT_LIMIT_POWER("限电出力",55),
    PVPLANT_LIMIT_POWER("限电出力",53),

    WINDPLANT_PEAK_LIMIT("调峰限电出力",57),
    PVPLANT_PEAK_LIMIT("调峰限电出力",55),

    WINDPLANT_GRID_LIMIT("网架限电出力",59),
    PVPLANT_GRID_LIMIT("网架限电出力",57),

    WINDPLANT_PLANT_LIMIT("站内限电出力",61),
    PVPLANT_PLANT_LIMIT("站内限电出力",59),

    WINDPLANT_IF_LIMIT("限电标记位",63),
    PVPLANT_IF_LIMIT("限电标记位",61),

    //总有功、总无功、当日电量、容量、风速、风向、运行状态
    //总有功、总无功、当日电量、容量
    //气温、气压、湿度、轮毂高度风速、轮毂高度风向
    WINDPLANT_TEMPR("气温",37),
    WINDPLANT_PRESS("气压",39),
    WINDPLANT_HUMIDITY("湿度",35),
    WINDPLANT_SPEED_HUB("轮毂高度风速",31),
    WINDPLANT_DIRECT_HUB("轮毂高度风向",33),
    //辐照度、环境温度
    PVPLANT_TEMPR("环境温度",19),
    PVPLANT_IRRA_ALL("辐照度",13),

    //查风机表
    //名称、总有功、总无功、当日电量、容量、风速、风向、运行状态
    WIND_TURBINE_WP_ID("风电厂ID",5),
    WIND_TURBINE_NAME("名称",3),
    WIND_TURBINE_P("总有功",29),
    WIND_TURBINE_Q("总无功",31),
    WIND_TURBINE_DAY_KWH("当日电量",39),
    WIND_TURBINE_CAPACITY("容量",11),
    WIND_TURBINE_SPEED("风速",47),
    WIND_TURBINE_DIRECT("风向",49),
    WIND_TURBINE_STATE("运行状态",23),

    //查逆变器表
    //总有功、总无功、当日电量、容量
    PV_INVERTER_PVP_ID("光伏电站ID",5),
    PV_INVERTER_NAME("名称",3),
    PV_INVERTER_P("总有功",31),
    PV_INVERTER_Q("总无功",33),
    PV_INVERTER_DAY_KWH("当日电量",43),
    PV_INVERTER_CAPACITY("容量",12),
    PV_INVERTER_STATE("运行状态",17);


    private Constant(String name,int value){
        this.name = name;
        this.value = value;
    }

    private String name;

    private int value;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }
}
